---
title: Resonance Audio FMOD Plugin Reference
layout: default
exclude_from_menu: true
---
<!DOCTYPE html>
<html devsite>
<head>
  <title>FmodResonanceAudioRoom Class Reference</title>
  <link rel="stylesheet" href="/resonance-audio/css/default.css"/>
</head>
<body><div id="top"><!-- do not remove this div --></div><h1>FmodResonanceAudioRoom</h1><p>Resonance Audio room component that simulates environmental effects of a room with respect to the properties of the attached game object. </p><h2>Summary</h2><h3>Inheritance</h3>Inherits from: MonoBehaviour<table class="constants responsive">
    <tr>
      <th colspan="2">
        <h3>Public types</h3>
      </th>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a>{<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea3d971943089a3388c01fb297a32d9ba7">Transparent</a> = 0,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eab0be3625f54933315a2abb60aafe4e42">AcousticCeilingTiles</a> = 1,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eab126b0b3cb0b87abfa871ead634db525">BrickBare</a> = 2,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea2f2c67192a1e7588bb49ee47792454e0">BrickPainted</a> = 3,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea45523ce642c052463d8ba1fd1db40408">ConcreteBlockCoarse</a> = 4,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eaa6128f48e7d80790085c6c4cabf1305e">ConcreteBlockPainted</a> = 5,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea193c00c05db45e4543e9290b191fa206">CurtainHeavy</a> = 6,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea9325d32e22aa28c684fa7e102477aef0">FiberglassInsulation</a> = 7,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea7757597b5a92f9413562d684c971a1d9">GlassThin</a> = 8,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea57d9c9de29aea5b1f6e5a52e44085314">GlassThick</a> = 9,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eaaac9a63596f76a62bb9f61a5dd7c0d25">Grass</a> = 10,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea000d234b7a916a3a1c22d8ad7ee7314a">LinoleumOnConcrete</a> = 11,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea7fb26875c639817a59912a87be6f7386">Marble</a> = 12,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eaeaa57a9b4248ce3968e718895e1c2f04">Metal</a> = 13,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eae1624da1c4144b606373a7495c804a44">ParquetOnConcrete</a> = 14,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea4aebac55a367c11621083cabcc68a4c2">PlasterRough</a> = 15,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eaf4c40b23a6c7a77fa84748c0bad45d9f">PlasterSmooth</a> = 16,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea8b8483c28e86d1446c44b91e49f57c0c">PlywoodPanel</a> = 17,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea42b8db95599e1f3374b37860e7793521">PolishedConcreteOrTile</a> = 18,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eacc4bb5a66cff1d8feb4e5cccba74c4bd">Sheetrock</a> = 19,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea63c5238abaa6c713ee41b96cb4afe73b">WaterOrIceSurface</a> = 20,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eac906895b1f5e07dcdd293cbadc841f96">WoodCeiling</a> = 21,<br>&nbsp;&nbsp;<a href="#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea2668dd10c264300dcded38167599ceb8">WoodPanel</a> = 22<br>}</code>
      </td>
      <td>enum<div>Material type that determines the acoustic properties of a room surface. </div></td>
    </tr>
  </table><table class="properties responsive">
    <tr>
      <th colspan="2">
        <h3>Public attributes</h3>
      </th>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1a0697778a7b880ca1bc0a8d6f112fc274">backWall</a> = SurfaceMaterial.ConcreteBlockCoarse</code>
      </td>
      <td>
        <div>
          <code><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a></code>
        </div>
        <div>Room surface material in negative z direction. </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1afc6619ab27832e627ca862d4683f3f3f">ceiling</a> = SurfaceMaterial.PlasterRough</code>
      </td>
      <td>
        <div>
          <code><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a></code>
        </div>
        <div>Room surface material in positive y direction. </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1ad39ad7a83ba1f143e700e708a2d957ca">floor</a> = SurfaceMaterial.ParquetOnConcrete</code>
      </td>
      <td>
        <div>
          <code><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a></code>
        </div>
        <div>Room surface material in negative y direction. </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1a38616a97484973dc9493a93396f06b53">frontWall</a> = SurfaceMaterial.ConcreteBlockCoarse</code>
      </td>
      <td>
        <div>
          <code><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a></code>
        </div>
        <div>Room surface material in positive z direction. </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1aa62291f92071d738a320290d451de150">leftWall</a> = SurfaceMaterial.ConcreteBlockCoarse</code>
      </td>
      <td>
        <div>
          <code><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a></code>
        </div>
        <div>Room surface material in negative x direction. </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1a797e60649cfcc74dc3d23eb1fbd7416b">reflectivity</a> = 1.0f</code>
      </td>
      <td>
        <div>
          <code>float</code>
        </div>
        <div>Reflectivity scalar for each surface of the room. </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1a3573cd7e1bb1f644bb30c55baf829152">reverbBrightness</a> = 0.0f</code>
      </td>
      <td>
        <div>
          <code>float</code>
        </div>
        <div>Reverb brightness modifier. </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1a5a72c68e1a95c09773f7fec3a30ba27e">reverbGainDb</a> = 0.0f</code>
      </td>
      <td>
        <div>
          <code>float</code>
        </div>
        <div>Reverb gain modifier in decibels. </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1ae4e0591cbfe59c5dd7f444eb08acba79">reverbTime</a> = 1.0f</code>
      </td>
      <td>
        <div>
          <code>float</code>
        </div>
        <div>Reverb time modifier. </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1a38eea58b399805471793d0754178df71">rightWall</a> = SurfaceMaterial.ConcreteBlockCoarse</code>
      </td>
      <td>
        <div>
          <code><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a></code>
        </div>
        <div>Room surface material in positive x direction. </div>
      </td>
    </tr>
    <tr>
      <td>
        <code><a href="#class_fmod_resonance_audio_room_1ae8644c3d9be0d8033f591ecd0781c78f">size</a> = Vector3.one</code>
      </td>
      <td>
        <div>
          <code>Vector3</code>
        </div>
        <div>Size of the room (normalized with respect to scale of the game object). </div>
      </td>
    </tr>
  </table><h2>Public types</h2><div id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">
    <h3>SurfaceMaterial</h3>
    <pre class="prettyprint"> SurfaceMaterial</pre>
    <div>
      <p>Material type that determines the acoustic properties of a room surface. </p>
      <table class="properties responsive">
        <tr>
          <th colspan="2">Properties</th>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eab0be3625f54933315a2abb60aafe4e42" />AcousticCeilingTiles</code>
          </td>
          <td>
            <p>Acoustic ceiling tiles. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eab126b0b3cb0b87abfa871ead634db525" />BrickBare</code>
          </td>
          <td>
            <p>Brick, bare. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea2f2c67192a1e7588bb49ee47792454e0" />BrickPainted</code>
          </td>
          <td>
            <p>Brick, painted. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea45523ce642c052463d8ba1fd1db40408" />ConcreteBlockCoarse</code>
          </td>
          <td>
            <p>Concrete block, coarse. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eaa6128f48e7d80790085c6c4cabf1305e" />ConcreteBlockPainted</code>
          </td>
          <td>
            <p>Concrete block, painted. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea193c00c05db45e4543e9290b191fa206" />CurtainHeavy</code>
          </td>
          <td>
            <p>Curtain, heavy. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea9325d32e22aa28c684fa7e102477aef0" />FiberglassInsulation</code>
          </td>
          <td>
            <p>Fiberglass insulation. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea57d9c9de29aea5b1f6e5a52e44085314" />GlassThick</code>
          </td>
          <td>
            <p>Glass, thick. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea7757597b5a92f9413562d684c971a1d9" />GlassThin</code>
          </td>
          <td>
            <p>Glass, thin. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eaaac9a63596f76a62bb9f61a5dd7c0d25" />Grass</code>
          </td>
          <td>
            <p>Grass. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea000d234b7a916a3a1c22d8ad7ee7314a" />LinoleumOnConcrete</code>
          </td>
          <td>
            <p>Linoleum on concrete. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea7fb26875c639817a59912a87be6f7386" />Marble</code>
          </td>
          <td>
            <p>Marble. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eaeaa57a9b4248ce3968e718895e1c2f04" />Metal</code>
          </td>
          <td>
            <p>Galvanized sheet metal. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eae1624da1c4144b606373a7495c804a44" />ParquetOnConcrete</code>
          </td>
          <td>
            <p>Parquet on concrete. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea4aebac55a367c11621083cabcc68a4c2" />PlasterRough</code>
          </td>
          <td>
            <p>Plaster, rough. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eaf4c40b23a6c7a77fa84748c0bad45d9f" />PlasterSmooth</code>
          </td>
          <td>
            <p>Plaster, smooth. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea8b8483c28e86d1446c44b91e49f57c0c" />PlywoodPanel</code>
          </td>
          <td>
            <p>Plywood panel. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea42b8db95599e1f3374b37860e7793521" />PolishedConcreteOrTile</code>
          </td>
          <td>
            <p>Polished concrete or tile. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eacc4bb5a66cff1d8feb4e5cccba74c4bd" />Sheetrock</code>
          </td>
          <td>
            <p>Sheetrock. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea3d971943089a3388c01fb297a32d9ba7" />Transparent</code>
          </td>
          <td>
            <p>Transparent. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea63c5238abaa6c713ee41b96cb4afe73b" />WaterOrIceSurface</code>
          </td>
          <td>
            <p>Water or ice surface. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2eac906895b1f5e07dcdd293cbadc841f96" />WoodCeiling</code>
          </td>
          <td>
            <p>Wood ceiling. </p>
          </td>
        </tr>
        <tr>
          <td>
            <code><a id="class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2ea2668dd10c264300dcded38167599ceb8" />WoodPanel</code>
          </td>
          <td>
            <p>Wood panel. </p>
          </td>
        </tr>
      </table>
    </div>
  </div><h2>Public attributes</h2><div id="class_fmod_resonance_audio_room_1a0697778a7b880ca1bc0a8d6f112fc274">
    <h3>backWall</h3>
    <pre class="prettyprint"><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a> backWall = SurfaceMaterial.ConcreteBlockCoarse</pre>
    <div>
      <p>Room surface material in negative z direction. </p>
    </div>
  </div><div id="class_fmod_resonance_audio_room_1afc6619ab27832e627ca862d4683f3f3f">
    <h3>ceiling</h3>
    <pre class="prettyprint"><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a> ceiling = SurfaceMaterial.PlasterRough</pre>
    <div>
      <p>Room surface material in positive y direction. </p>
    </div>
  </div><div id="class_fmod_resonance_audio_room_1ad39ad7a83ba1f143e700e708a2d957ca">
    <h3>floor</h3>
    <pre class="prettyprint"><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a> floor = SurfaceMaterial.ParquetOnConcrete</pre>
    <div>
      <p>Room surface material in negative y direction. </p>
    </div>
  </div><div id="class_fmod_resonance_audio_room_1a38616a97484973dc9493a93396f06b53">
    <h3>frontWall</h3>
    <pre class="prettyprint"><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a> frontWall = SurfaceMaterial.ConcreteBlockCoarse</pre>
    <div>
      <p>Room surface material in positive z direction. </p>
    </div>
  </div><div id="class_fmod_resonance_audio_room_1aa62291f92071d738a320290d451de150">
    <h3>leftWall</h3>
    <pre class="prettyprint"><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a> leftWall = SurfaceMaterial.ConcreteBlockCoarse</pre>
    <div>
      <p>Room surface material in negative x direction. </p>
    </div>
  </div><div id="class_fmod_resonance_audio_room_1a797e60649cfcc74dc3d23eb1fbd7416b">
    <h3>reflectivity</h3>
    <pre class="prettyprint">float reflectivity = 1.0f</pre>
    <div>
      <p>Reflectivity scalar for each surface of the room. </p>
    </div>
  </div><div id="class_fmod_resonance_audio_room_1a3573cd7e1bb1f644bb30c55baf829152">
    <h3>reverbBrightness</h3>
    <pre class="prettyprint">float reverbBrightness = 0.0f</pre>
    <div>
      <p>Reverb brightness modifier. </p>
    </div>
  </div><div id="class_fmod_resonance_audio_room_1a5a72c68e1a95c09773f7fec3a30ba27e">
    <h3>reverbGainDb</h3>
    <pre class="prettyprint">float reverbGainDb = 0.0f</pre>
    <div>
      <p>Reverb gain modifier in decibels. </p>
    </div>
  </div><div id="class_fmod_resonance_audio_room_1ae4e0591cbfe59c5dd7f444eb08acba79">
    <h3>reverbTime</h3>
    <pre class="prettyprint">float reverbTime = 1.0f</pre>
    <div>
      <p>Reverb time modifier. </p>
    </div>
  </div><div id="class_fmod_resonance_audio_room_1a38eea58b399805471793d0754178df71">
    <h3>rightWall</h3>
    <pre class="prettyprint"><a href="/resonance-audio/reference/fmod/class/fmod-resonance-audio-room.html#class_fmod_resonance_audio_room_1a6dd42d4e934f57e56f2b57cea0f43b2e">SurfaceMaterial</a> rightWall = SurfaceMaterial.ConcreteBlockCoarse</pre>
    <div>
      <p>Room surface material in positive x direction. </p>
    </div>
  </div><div id="class_fmod_resonance_audio_room_1ae8644c3d9be0d8033f591ecd0781c78f">
    <h3>size</h3>
    <pre class="prettyprint">Vector3 size = Vector3.one</pre>
    <div>
      <p>Size of the room (normalized with respect to scale of the game object). </p>
    </div>
  </div></body>
</html>
